import mockapi from './mockapi'

import odooapi from './odooapi'

import odooConfig from '@/../odoo.config'

const api = odooConfig.mock ? mockapi : odooapi

export default api
